home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 20 / Cream of the Crop 20 (Terry Blount) (1996).iso / editor / numlines.zip / README < prev   
Text File  |  1996-06-14  |  694b  |  21 lines

  1. Numlines.com adds up the number of line feeds found in a textfile and writes
  2. the sum (minus 1) to standard output, appending a carrage return and line feed.
  3. This gives the same number as the @LINES function in 4DOS.COM and is much
  4. faster when checking large files.
  5.  
  6. This is version 5 and can count to 2**32 lines; over 4 million lines.
  7.  
  8. To set an environment variable as with 4DOS;
  9.  
  10. numlines filename | Input %%var
  11.  
  12. For usage, TYPE [path]numlines.com
  13.  
  14. The A86 assembler code is included with some comments.
  15.  
  16. If someone can improve this, please netmail it to me or, post it in 80xxx,
  17.  
  18. Barry Block  2:280/901.42  or  Barry_Block@p42.f901.n280.z2.fidonet.org
  19.  
  20. Thank you.  6-96
  21.